export default {
    install(Vue,a,b,c){
        console.log(Vue);
        console.log(a);
        console.log(b);
        console.log(c);
        Vue.mixin({
            data() {
                return {
                    userName:"小明",
                    age:33
                }
            },
            methods: {
                
            },
        })
        Vue.filter("ageFun",function(value){
            return value<30?30-value:value;
        })
        // Vue.directive("my-age",function(element,binding){
        //     element.innerText = binding.value+100;
        // })
        Vue.directive("my-age",{
            binding(element,binding){

            },
            inserted(element,binding){
                element.innerText = binding.value+200;
            },
            update(element,binding){

            }
        })
        Vue.prototype.hello = ()=>console.log("我触发了hello");
    }
}